package com.ids.daoManager;

import com.ids.dao.AdminPasswordDao;

public class AdminPasswordDaoManager {

	private static AdminPasswordDaoManager instance = new AdminPasswordDaoManager();

	public static AdminPasswordDaoManager getInstance() {
		return instance;
	}

	public String verifyAdmin(String empCode, String password) {
		AdminPasswordDao adminPasswordDao = new AdminPasswordDao();
		return adminPasswordDao.verifyAdmin(empCode, password);
	}

	public String updateAdminPassword(String empCode, String oldpassword,
			String newpassword) {
		AdminPasswordDao adminPasswordDao = new AdminPasswordDao();
		return adminPasswordDao.updateAdminPassword(empCode, oldpassword,
				newpassword);
	}

}
